// P1618 write by cn_ryh